<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <link rel="stylesheet" href="../css/message.css">
    <link href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
</head>

<body>
    <div class="nav">
        <div class="my_work">
            <span class="work">
                <a href="../../tojump">Home</a>
            </span>
            <span class="mesg">人事信息</span>
            <span class="home">
                <a href="../pages/page1.html">返回</a>
            </span>
        </div>
    </div>

    <div class="box">
        <form action="deleteBehaviorID" id="formb">
            <input type="hidden" name="bid" id="bid"/>

        </form>
        <div class="set-on">
            <a href="javaScript:findexcel()" class="daochu">导出Excel</a>
            &nbsp;&nbsp;&nbsp;&nbsp
            <!-- <a href="javaScript:findAllLog()">操作日志</a> -->
        </div>
        <form id="form2" action="findBehavior" method="post">
            <input type="hidden" name="pageNo" id="pageNo" value="${list.pageNo}">
            <input type="hidden" name="setPageSize" id="setPageSize" value="${list.pageSize}">
            <table  style="align:center;border: 1px solid black;" cellspacing="0" cellpadding="0">
                <caption class="cap">行为记录表</caption>
                <tr class="info">
                    <th>序号</th>
                    <th>姓名</th>
                    <th>类别</th>
                    <th>规程编号</th>
                    <th>条款号</th>
                    <th>条款内容</th>
                    <th>行为情况</th>
                    <th>日期</th>
                    <th>严重度</th>
                    <th>记录人</th>
                    <th>处罚金额</th>
                    <th>备注说明</th>
                    <th>其他1</th>
                    <th>其他2</th>
                    <th>其他3</th>
                    <th>操作</th>
                </tr>

                <c:forEach items="${requestScope.list.data}" var="be">
                    <tr class="t_body">
                        <td width="3%">${be.id}</td>
                        <td width="5%">${be.bname}</td>
                        <td width="5%">${be.bType}</td>
                        <td width="5%">${be.code}</td>
                        <td width="5%">${be.regular}</td>
                        <td width="5%">${be.bContent}</td>
                        <td width="5%">${be.bCondition}</td>
                        <td width="5%">${be.bDate}</td>
                        <td width="3%">${be.servious}</td>
                        <td width="4%">${be.people}</td>
                        <td width="3%">${be.coin}</td>
                        <td width="5%">${be.remark}</td>
                        <td width="5%">${be.others1}</td>
                        <td width="5%">${be.others2}</td>
                        <td width="5%">${be.others3}</td>
                        <td width="5%"><input type="button" value="修改" onclick="findById(${be.id})"/>&nbsp;&nbsp;&nbsp;<input type="button" value="删除" onclick="deleteByBehavior(${be.id})"/></td>
                    </tr>
                </c:forEach>

            </table>
        </form>
        <!-- 引入分页 -->
        <jsp:include page="jsp/page.jsp" flush="true">
            <jsp:param name="" value=""/>
        </jsp:include>
        <br>
        <div id="mask">
            <form action="addBehavior" method="post" class="add" id="behaviorForm1">
                <span>姓名 <span>*</span>：<input type="text" name="bname" id="bname"/></span>

                &nbsp;&nbsp;&nbsp;&nbsp;

                <span>类型  <span>*</span>：<!-- <input type="text" name="bType"/> -->
  				<select name="bType" id="btype">
  				<c:forEach items="${sessionScope.pa}" var="p">
					<option>${p.paramValue}</option>
				</c:forEach>

  				</select>
  			</span>

                &nbsp;&nbsp;&nbsp;&nbsp;

                <span>规程编号 <span>*</span>: <input type="text" name="code" id="code"/></span>

                &nbsp;&nbsp;&nbsp;&nbsp;

                <span>条款号 <span>*</span>: <input type="text" name="regular" id="regular"/></span>

                &nbsp;&nbsp;&nbsp;&nbsp;

                <span>条款内容 : <input type="text" name="bContent"/></span>

                &nbsp;&nbsp;&nbsp;&nbsp;

                <span>行为情况 : <input type="text" name="bCondition"/></span>

                &nbsp;&nbsp;&nbsp;&nbsp;

                <span>日期 <span>*</span>: <input type="date" name="bDate" id="bDate"/></span>

                <br/><p></p>
                <!-- ---------- -->

                <span>严重度  <span>*</span>:
  				<select name="servious" style="width:100px;" id="servious">
  				<c:forEach items="${sessionScope.servious}" var="se">
					<option>${se.paramValue}</option>
				</c:forEach>
  				</select>
  			</span>

                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

                <span>记录人:<input type="text" name="people"/></span>

                &nbsp;&nbsp;&nbsp;&nbsp;

                <span>处罚金额 : <input type="text" name="coin" placeholder="" onkeyup="clearNoNum(this)"/></span>

                &nbsp;&nbsp;&nbsp;&nbsp;

                <span>备注说明:<input type="text" name="remark"/></span>

                &nbsp;&nbsp;&nbsp;&nbsp;

                <span>其他1 &nbsp;&nbsp;:&nbsp;&nbsp; <input type="text" name="others1"/></span>

                &nbsp;&nbsp;&nbsp;&nbsp;

                <span>其他2&nbsp;&nbsp; :&nbsp;&nbsp; <input type="text" name="others2"/></span>

                &nbsp;&nbsp;&nbsp;&nbsp;

                <span>其他3 : <input type="text" name="others3"/></span>

                <br/>
                <span class="add_btn"><input type="button"  value="添加" id="button1"/></span>
                <span class="return_btn"><a href="toIndex1">返回</a></span>
                <span class="attention">注：<span>* </span>为必填项</span>

            </form>
        </div>
    </div>



    <!-- jQuery (Bootstrap 的所有 JavaScript 插件都依赖 jQuery，所以必须放在前边) -->
    <script src="https://cdn.bootcss.com/jquery/1.12.4/jquery.min.js"></script>
    <!-- 加载 Bootstrap 的所有 JavaScript 插件。你也可以根据需要只加载单个插件。 -->
    <script src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</body>

</html>